//
//  DBManager.h
//  BaseLib
//
//  Created by CPX on 2018/5/28.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDB.h"



typedef NSDictionary* (^MigrationBlock)(void);

/**
 数据库管理
 @author yzl
 */
@interface DBManager : NSObject

@property (nonatomic,strong) FMDatabase *db;

+ (instancetype)sharedManager;

- (void)initWithMigration:(MigrationBlock)block;

//- (void)open;
//- (void)close;

@end
